/**
 * @(#)TestPageController.java, 2010-5-13. 
 * 
 */
package com.rsstuan.web.controller;

import java.util.HashMap;
import java.util.Map;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.springframework.web.servlet.ModelAndView;
import org.springframework.web.servlet.mvc.AbstractController;

/**
 *
 * @author guosq
 *
 */
public class TestPageController extends AbstractController{

  
    @Override
    protected ModelAndView handleRequestInternal(HttpServletRequest request,
            HttpServletResponse response) throws Exception {
        Map<String, String> model = new HashMap<String, String>();
        model.put("title", "TEST");
        model.put("content", "This is a test");
        return new ModelAndView("testpage", model);
    }

}
